package org.example.what_mall.util;

import java.util.List;

public class RandomImg {
    private static final List<String> imgUrl = List.of(
            "https://tse4-mm.cn.bing.net/th/id/OIP-C._EJ4gAHvtRGVBotZqOtd4gAAAA?w=181&h=193&c=7&r=0&o=5&dpr=1.8&pid=1.7",
            "https://tse2-mm.cn.bing.net/th/id/OIP-C.JCEcaQJVR_vC2kgt6BGZlAAAAA?w=198&h=202&c=7&r=0&o=7&dpr=1.8&pid=1.7&rm=3",
            "https://tse1-mm.cn.bing.net/th/id/OIP-C.OSFH3hIukHqh-qrOvIfUWgAAAA?w=163&h=202&c=7&r=0&o=7&dpr=1.8&pid=1.7&rm=3",
            "https://tse3-mm.cn.bing.net/th/id/OIP-C.rPQTtL06uTRQSkiUvIGykwAAAA?w=182&h=187&c=7&r=0&o=5&dpr=1.8&pid=1.7",
            "https://tse1-mm.cn.bing.net/th/id/OIP-C.gRJIB4RYZt5dLxBSzu08OwAAAA?w=203&h=204&c=7&r=0&o=5&dpr=1.8&pid=1.7"
    );
    public static String getImgUrl() {
        return imgUrl.get((int)(Math.random() * imgUrl.size()));
    }
}
